package com.atguigu.springbootdemo.service;

import com.atguigu.springbootdemo.beans.Employee;
import com.atguigu.springbootdemo.beans.MyData;

import java.util.List;

/**
 * Created by Smexy on 2023/3/28
 */
public interface EmployeeService
{
    //根据分析 客户端需要5种 功能，提供5个方法实现这5种功能
    Employee getEmpById(Integer id);

    void insertEmployee(Employee e);

    void updateEmployee(Employee e);

    void deleteEmpById(Integer id);

    List<Employee> getAll();

    List<MyData> getAds();
}
